/** component: hash **/
.hash {
  display: inline-block;
  max-width: 160px;
  text-overflow: ellipsis;
  overflow: hidden;
  vertical-align: middle;
  white-space: nowrap;
}

/** component: copy **/
.copy {
  padding: 2px 6px;
  border: 1px solid #ccc;
  font-size: 12px;
  font-weight: normal;
  cursor: pointer;
  vertical-align: middle;
  white-space: nowrap;
}
.hiddenInput {
  position: fixed;
  left: -100px;
  top: -100px;
}

/** component: loading **/
.loading {
  position: fixed;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 10000;
}
/** component: icons **/
:global(.ant-menu-item) .cicon, :global(.ant-menu-submenu-title) .cicon, .cicon {
  font-size: 20px;
  line-height: 20px;
  vertical-align: middle;
}

/** quickActions **/
.quickActions {
  position: fixed;
  right: 0;
  top: 50%;
  z-index: 5;
  .qaContent {
    text-align: center;
  }
  .quickAction, .logo {
    margin: 0 2px;
    background: rgba(176, 177, 180, 0.8);
    width: 50px;
    height: 50px;
    line-height: 20px;
    a {
      display: block;
      width: 100%;
      height: 100%;
      padding: 5px 0;
      color: #fff;
    }
  }
  .logo {
    margin-right: 0;
    background: rgba(54, 203, 203, 0.9);
    line-height: 50px;
    cursor: move;
    & :hover {
      cursor: move;
    }
  }
}
/** recommend keywords **/
.recommendKeywords {
  line-height: 32px;
  .label {
    // font-weight: bold;
    color: @primary-color;
  }
  .tag {
    cursor: pointer;
  }
}

/** check project dirty **/
.checkPanel {
  @error: rgb(242, 99, 123);
  @success: @primary-color;
  @btnColor: #10BC5E;
  color: rgba(0, 0, 0, 0.65);
.checkerError, .checkerSuccess {
  border-radius: 2px;
  line-height: 30px;
  padding: 0 10px;
}
.checkerSuccess {
  background: fade(@success, 10);
  border: 1px solid @success;
}
.checkerError {
  background: fade(@error, 10);
  border: 1px solid @error;
}
  .checkBtn {
    background-color: @btnColor;
    color: #fff;
    border-color:@btnColor;
    &:hover {
      background-color: lighten(@btnColor, 10%);
      border-color: lighten(@btnColor, 10%);
    }
  }
  .success {
    color: @success;
  }
  .error {
    color: @error;
  }
}
